# extends 'base.html'
# import 'macro/forms.html' as forms
# import 'macro/utils.html' as utils

# block content
  <div class="page-header">
    <h1>
      {{title}}
      <small>
        Provide a name and set your password
      </small>
    </h1>
  </div>

  <div class="row">
    <div class="col-lg-4 col-lg-offset-4 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
      <form method="POST" action="." novalidate>
        {{form.csrf_token}}
        {{forms.text_field(form.name, autofocus=True, class='form-control input-lg')}}
        {{forms.password_visible_field(form.password, autofocus=True, size='lg')}}
        <div class="controls">
          <button type="submit" class="btn btn-block btn-lg btn-primary btn-loading" {{forms.data_loading_text()}}>
            Activate
          </button>
        </div>
      </form>
    </div>
  </div>
# endblock
